home *** CD-ROM | disk | FTP | other *** search
/ Borland JBuilder 6 / jbuilder6.iso / IBM VisualAge for Java Enterprise v4.0 Retail / ivj40 / setup / IDE.Cab / F77531_SmartGuideCommandHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-04-25  |  1.2 KB  |  33 lines

  1. package com.ibm.ivb.sguides;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5.  
  6. class SmartGuide$CommandHandler implements ActionListener {
  7.    // $FF: synthetic field
  8.    private final SmartGuide this$0;
  9.  
  10.    public void actionPerformed(ActionEvent var1) {
  11.       String var2 = var1.getActionCommand();
  12.       if (var2.equals("BackCommand")) {
  13.          this.this$0.executeMove(false);
  14.       } else if (var2.equals("NextCommand")) {
  15.          this.this$0.executeMove(true);
  16.       } else if (var2.equals("FinishCommand")) {
  17.          this.this$0.executeFinish();
  18.       } else if (var2.equals("CancelCommand")) {
  19.          this.this$0.executeCancel();
  20.       } else {
  21.          if (var2.equals("HelpCommand")) {
  22.             this.this$0.executeHelp();
  23.          }
  24.  
  25.       }
  26.    }
  27.  
  28.    SmartGuide$CommandHandler(SmartGuide var1) {
  29.       this.this$0 = var1;
  30.       this.this$0 = var1;
  31.    }
  32. }
  33.